<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 自定义数据属性 -->
    <button data-href="aaa" _aa="123" data-a="bbb" data-c="ddd">按钮</button>
    <script>
        var btn = document.querySelector('button');
        console.log(btn.dataset)
        console.log(btn.getAttribute("_aa"))
    </script>
</body>
</html>